package com.toune.villager.bean;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

public class GoodsListBean {


    /**
     * total : 1
     * rows : [{"searchValue":null,"createBy":null,"createTime":"2021-10-09 17:32:37","updateBy":null,"updateTime":"2021-10-09 17:54:47","remark":null,"params":{},"id":1,"goodName":"火鸡面","price":15,"deleteTime":"2021-10-09","des":"一大包","goodsTypeId":9,"goodsTypeName":"家乡特产"}]
     * code : 200
     * msg : 查询成功
     */

    private int total;
    private int code;
    private String msg;
    private List<RowsBean> rows;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<RowsBean> getRows() {
        return rows;
    }

    public void setRows(List<RowsBean> rows) {
        this.rows = rows;
    }

    public static class RowsBean implements MultiItemEntity {
        public static int style = 0;
        public static int GRID_STYLE = 0;
        public static int LIST_STYLE = 1;

        /**
         * searchValue : null
         * createBy : null
         * createTime : 2021-10-09 17:32:37
         * updateBy : null
         * updateTime : 2021-10-09 17:54:47
         * remark : null
         * params : {}
         * id : 1
         * goodName : 火鸡面
         * price : 15.0
         * deleteTime : 2021-10-09
         * des : 一大包
         * goodsTypeId : 9
         * goodsTypeName : 家乡特产
         */

        private Object searchValue;
        private Object createBy;
        private String createTime;
        private Object updateBy;
        private String updateTime;
        private Object remark;
        private ParamsBean params;
        private int id;
        private String goodName;
        private double price;
        private String deleteTime;
        private String des;
        private int goodsTypeId;
        private String goodsTypeName;

        public Object getSearchValue() {
            return searchValue;
        }

        public void setSearchValue(Object searchValue) {
            this.searchValue = searchValue;
        }

        public Object getCreateBy() {
            return createBy;
        }

        public void setCreateBy(Object createBy) {
            this.createBy = createBy;
        }

        public String getCreateTime() {
            return createTime;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public Object getUpdateBy() {
            return updateBy;
        }

        public void setUpdateBy(Object updateBy) {
            this.updateBy = updateBy;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public Object getRemark() {
            return remark;
        }

        public void setRemark(Object remark) {
            this.remark = remark;
        }

        public ParamsBean getParams() {
            return params;
        }

        public void setParams(ParamsBean params) {
            this.params = params;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getGoodName() {
            return goodName;
        }

        public void setGoodName(String goodName) {
            this.goodName = goodName;
        }

        public double getPrice() {
            return price;
        }

        public void setPrice(double price) {
            this.price = price;
        }

        public String getDeleteTime() {
            return deleteTime;
        }

        public void setDeleteTime(String deleteTime) {
            this.deleteTime = deleteTime;
        }

        public String getDes() {
            return des;
        }

        public void setDes(String des) {
            this.des = des;
        }

        public int getGoodsTypeId() {
            return goodsTypeId;
        }

        public void setGoodsTypeId(int goodsTypeId) {
            this.goodsTypeId = goodsTypeId;
        }

        public String getGoodsTypeName() {
            return goodsTypeName;
        }

        public void setGoodsTypeName(String goodsTypeName) {
            this.goodsTypeName = goodsTypeName;
        }

        @Override
        public int getItemType() {
            return style;
        }

        public static class ParamsBean {
        }
    }
}
